<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>demo 2-46</title>
	</head>
	<body>
	</body>
	<script>
		export const A = 1;
		export const B = 3;
		export const C = 4;
		//
		import * as constants from './constants.js';
		console.log(constants.A);
		console.log(constants.B);
		//
		import {A,B} from './constants.js';
		console.log(A);
		console.log(B);
	</script>
</html>